<style>
.headinfo .child.userinfo .face {
    border: 0px solid #fff; 
}
.showcode {padding:0.1rem;font-size:0.6rem;color:#fff;background-color:rgba(255,255,255,0.5);border-top-left-radius:44rpx;border-bottom-left-radius:44rpx;}

</style>
<div class='fui-page fui-page-current' ng-if="pagedata.op=='main'">
	<div class='fui-content member-page navbar' style="top:0">
		<div style="background-image:url('../addons/jy_quanhuo/resource/images/top-bg.png');">
			<div class="headinfo" style="background-color:{{pagedata.pluginset.h_color || '#09ba07'}};filter:Alpha(opacity=50);opacity:0.8;">
				<a class="setbtn" href="javascript:;" ng-click="access_json('set')"><i class="fa fa-cog"></i></a>
				<div class="child userinfo" style="width:30%">
					<div class="face" style="margin-right:0.6rem;padding: 0.1rem;" href="javascript:;" ng-click="access_json('core/member.cavatar/')">
							<img ng-src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/gw-user.png'}}" />
					</div>
				</div>
				<div class="child userinfo" style="width:70%;margin-left:-3rem;text-align:left;float:left">
					<div  style="color: white;">
						<div class="l">{{pagedata.member.nickname}}
							<span class="fui-tag-red-o" ng-click="access_json('core/member.tixian/')" style="margin-top:-0.2rem;padding:0.06rem 0.3rem;">提现</span>
						</div>
					</div>
					<div class="l">
						<span style="font-size:0.6rem"><i class="icon jinyunicon icon-qitashouru" style="color:#f60"></i> 收到红包：￥{{pagedata.user.money || '0.00'}}</span>
						<span style="font-size:0.6rem"> 余额：￥{{pagedata.user.credit2 || '0.00'}}</span>
					</div>
					<div class="l">
					<span class="fui-tag-red-o" ng-click="access_json('core/member.recharge/')" style="margin-top:-0.2rem;padding:0.06rem 0.3rem;">充值</span>
					</div>
				</div>
				<div class="water">
					<div class="water-1"></div>
					<div class="water-2"></div>
				</div>
			</div>
		</div>
		<div class="fui-icon-group noborder col-4" style="background-color: #fff;">
						<div  class="fui-icon-col external" href="javascript:;" ng-click="access_json('jy_quanhuo/order/')">
							<div class="badge"></div>
							<div class="icon icon-green radius"><i class="icon icon-dingdan"></i></div>
							<div class="text">我的参与</div>
						</div>
						<div  class="fui-icon-col external" href="javascript:;" ng-click="access_json('jy_quanhuo/myshoucang/')">
							<div class="badge"></div>
							<div class="icon icon-green radius"><i class="icon icon-follow"></i></div>
							<div class="text">我的关注</div>
						</div>
						<div class="fui-icon-col external" href="javascript:;" ng-click="access_json('jy_quanhuo/mydown/')">
							<div class="badge"></div>
							<div class="icon icon-green radius"><i class="icon icon-chakan"></i></div>
							<div class="text">我的下线</div>
						</div>
						<div class="fui-icon-col external" href="javascript:;" ng-click="access_json('jy_quanhuo/myzuji/')">
							<div class="badge"></div>
							<div class="icon icon-green radius"><i class="icon icon-zuji"></i></div>
							<div class="text">我的足迹</div>
						</div>
		</div>
		<div style="padding:0.5rem">
		<div class="fui-cell-group fui-cell-click" style="margin-top: 0">
			<a class="fui-cell external" href="javascript:;" ng-click="access_json('jy_quanhuo/order/')">
				<div class="fui-cell-icon"><i class="icon icon-quanbudingdan"></i></div>
				<div class="fui-cell-text">我的订单</div>
				<div class="fui-cell-remark" style="font-size: 0.65rem;">查看全部订单</div>
			</a>
			<div class="fui-icon-group col-5 selecter">
				<a class="fui-icon-col external" href="javascript:;" ng-click="access_json('jy_quanhuo/order//status=0')">
					<div class="badge" ng-if="pagedata.statics.status0>0">{{pagedata.statics.status0}}</div>
					<div class="icon icon-green radius"><i class="icon icon-daifukuan1"></i></div>
					<div class="text">待付款</div>
				</a>
				<a class="fui-icon-col external" href="javascript:;" ng-click="access_json('jy_quanhuo/order//status=1')">
					<div class="badge" ng-if="pagedata.statics.status1>0">{{pagedata.statics.status1}}</div>
					<div class="icon icon-orange radius"><i class="icon icon-daifahuo"></i></div>
					<div class="text">待核销</div>
				</a>
				<a class="fui-icon-col external" href="javascript:;" ng-click="access_json('jy_quanhuo/order//status=2')">
					<div class="badge" ng-if="pagedata.statics.status2>0">{{pagedata.statics.status2}}</div>
					<div class="icon icon-blue radius"><i class="icon icon-daishouhuo1"></i></div>
					<div class="text">待收货</div>
				</a>
				<a class="fui-icon-col external" href="javascript:;" ng-click="access_json('jy_quanhuo/order//status=3')">
					<div class="badge" ng-if="pagedata.statics.status3>0">{{pagedata.statics.status3}}</div>
					<div class="icon icon-blue radius"><i class="icon icon-daishouhuo1"></i></div>
					<div class="text">已完成</div>
				</a>
				<a class="fui-icon-col external" href="javascript:;" ng-click="access_json('jy_quanhuo/order//status=3')">
					<div class="badge" ng-if="pagedata.statics.status4>0">{{pagedata.statics.status4}}</div>
					<div class="icon icon-pink radius"><i class="icon icon-tuihuanhuo1"></i></div>
					<div class="text">退换货</div>
				</a>
			</div>
		</div>
		<div class="fui-cell-group fui-cell-click">
				<a ng-if="pagedata.user.id" class="fui-cell" href="javascript:;" ng-click="access_json('jy_merch/merch//id='+pagedata.user.id)">
					<div class="fui-cell-icon"><i class="icon icon-dianpu"></i></div>
					<div class="fui-cell-text"><p>管理店铺</p></div>
					<div class="fui-cell-remark"></div>
				</a>
				<a class="fui-cell" href="javascript:;" ng-click="access_json('jy_quanhuo/merchorder/')">
					<div class="fui-cell-icon"><i class="icon icon-wodezichan"></i></div>
					<div class="fui-cell-text"><p>我的收入记录</p></div>
					<div class="fui-cell-remark"></div>
				</a>
		</div>
		<div class="fui-cell-group fui-cell-click">
				<a class="fui-cell" href="javascript:;" ng-click="access_json('core/member.paylog/')">
					<div class="fui-cell-icon"><i class="icon icon-wodezichan"></i></div>
					<div class="fui-cell-text"><p>我的消费记录</p></div>
					<div class="fui-cell-remark"></div>
				</a>
				<a class="fui-cell" href="javascript:;" ng-click="access_json('jy_quanhuo/feelog/')">
					<div class="fui-cell-icon"><i class="icon icon-dixiaofei"></i></div>
					<div class="fui-cell-text"><p>我的佣金记录</p></div>
					<div class="fui-cell-remark"></div>
				</a>
				<a class="fui-cell" href="javascript:;" ng-click="access_json('jy_quanhuo/mybalance/')">
					<div class="fui-cell-icon"><i class="icon icon-quanbudingdan"></i></div>
					<div class="fui-cell-text"><p>我的提现记录</p></div>
					<div class="fui-cell-remark"></div>
				</a>
				<a ng-repeat="item in pagedata.pluginset.homenav" class="fui-cell" href="javascript:;" ng-click="access_json(item.action)">
					<div class="fui-cell-icon"><i class="icon {{item.icon}}"></i></div>
					<div class="fui-cell-text"><p>{{item.title}}</p></div>
					<div class="fui-cell-remark"></div>
				</a>
		</div>
		 <div class="footer" style="width:100%; margin-top:0.5rem;margin-bottom:1rem;display: block;font-size:0.5rem;text-align:center">
			Copyright © {{pagedata.account.cname}} 2018-2022 
		</div>
		</div>
	</div>
</div>
<div class='fui-page fui-page-current' ng-if="pagedata.op=='set'">
	<div class="fui-header">
			<div class="fui-header-left" onclick="window.history.go(-1);">
				<a class="back"></a>
			</div>
			<div class="title">个人设置</div>
			<div class="fui-header-right"></div>
	</div>
	<div class="fui-list-group merchgroup" style="margin-top:58px">
					<div class="fui-list jump">
						<a class="fui-list-media" ng-if="pagedata.item.avatar" ng-click="image(pagedata.item,'avatar')">
							<img class="round" src="{{tomedia(pagedata.item.avatar) || '../core/resource/images/nopic.jpg'}}" />
						</a>
						<a class="fui-list-media weui_uploader_input_wrp" >
							<input class="weui_uploader_input" ng-click="image(pagedata.item,'avatar')" accept="image/jpg,image/jpeg,image/png,image/gif" multiple="">
						</a>
					</div>
	</div>
	<div class="weui_cells weui_cells_form">
				  <div class="weui_cell weui_vcode">
					<div class="weui_cell_hd"><label class="weui_label">昵称</label></div>
					<div class="weui_cell_bd weui_cell_primary">
						<input class="weui_input" type="text" ng-model="pagedata.item.nickname" placeholder="请输入您的昵称">
					</div>
				</div>
				<div class="weui_cell weui_vcode">
					<div class="weui_cell_hd"><label class="weui_label">手机</label></div>
					<div class="weui_cell_bd weui_cell_primary">
						<input class="weui_input" type="text" ng-model="pagedata.item.mobile" placeholder="请输入您的手机号码">
					</div>
				</div>
	</div>
	<div class="weui_btn_area">
			 <a class="weui_btn weui_btn_primary" href="javascript:" id="showTooltips" ng-click="post(pagedata.item,'set')">提交</a>
	</div>
</div>
<div class='fui-page fui-page-current' ng-if="pagedata.op=='tixian'">
<div class="fui-content">
			<div class="weui_cells weui_cells_form">
            <div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">可提现金额</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" type="text" placeholder="{{pagedata.user.cash}}元" readonly>
                </div>
            </div>
        </div>
		<div class="weui_cells weui_cells_form">
            <div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">提现金额</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" type="number" placeholder="0.00" ng-model="pagedata.post.money">
                </div>
            </div>
        </div>
		<div class="weui_btn_area">
			 <a class="weui_btn weui_btn_primary" href="javascript:" id="showTooltips" ng-click="post(pagedata.post,'tixian')">提交</a>
		</div>
		<div class="footer" style="width:100%; margin-top:0.5rem;margin-bottom:1rem;display: block;font-size:0.5rem;text-align:center">
			Copyright © {{pagedata.account.cname}} 2018-2019 
		</div>
</div>
</div>
<div ng-include="sys_html('_footer')"></div>